/* 重置样式 */
body,
ul,
dl,
dt,
dd,
p,
ol,
h1,
h2,
h3,
h4,
menu,
h5,
h6,
fieldset,
legend,
figure,
figcaption,
input {
    margin: 0;
    padding: 0;
}

ul,
li,
ol {
    list-style: none;
}

img,
fieldset {
    border: 0;
}

img {
    display: block;
}

a {
    text-decoration: none;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 100;
}

body {
    font-family: "微软雅黑";
}

input,
a {
    outline: none;
}

/* 头部 */
header>div:nth-of-type(1) {
    width: 100%;
    height: 100px;
    background-color: #F9A3C8;
}

header>div:nth-of-type(1) a {
    display: block;
    width: 1190px;
    height: 100px;
    margin: auto;

}

header>div:nth-of-type(1) a img {
    width: 1190px;
    height: 100px;
    margin: auto;
}

header>div:nth-of-type(2)>div>ul:nth-child(2)>li>ol {
    position: absolute;
    z-index: 3;
}

header>div:nth-of-type(2)>div>ul:nth-child(2)>li:nth-child(1)>ol {
    left: 0px;
    top: 26px;
    display: none;
}

header>div:nth-of-type(2)>div>ul:nth-child(2)>li:nth-child(3)>ol {
    left: 124px;
    top: 26px;
    display: none;
}

/* 导航栏 */
header>div:nth-of-type(2) {
    width: 100%;
    height: 27px;
    background-color: #f2f2f2;
}

header>div:nth-of-type(2) div {
    width: 1190px;
    height: 26px;
    margin: auto;
    display: flex;
    position: relative;
}

header>div:nth-of-type(2) div ul {
    display: flex;
    align-items: center;
}

header>div:nth-of-type(2) ul:nth-of-type(1) li:nth-of-type(2) em {
    color: #999;
    font-size: 12px;
    font-style: normal;
}

header>div:nth-of-type(2) ul li a {
    color: #999;
    font-size: 12px;
    position: relative;

}

header>div:nth-of-type(2) ul li {
    height: 26px;
    line-height: 26px;
    padding-left: 10px;
    padding-right: 10px;

}

header>div:nth-of-type(2) div ul:nth-child(2) li:nth-child(1):hover {
    background-color: #fff;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:nth-child(3):hover {
    background-color: #fff;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:nth-child(1):hover>ol {
    display: block;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:nth-child(3):hover>ol {
    display: block;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:nth-child(4):hover>ol {
    display: block;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:nth-child(1):hover b {
    border-color: transparent transparent #bbb;
    top: 4px;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:nth-child(3):hover b {
    border-color: transparent transparent #bbb;
    top: 4px;
}

header>div:nth-of-type(2) div ul li a:hover {
    color: red;
    text-decoration: underline;
}

header>div:nth-of-type(2) div ul li a b {
    position: absolute;
    right: -8px;
    top: 7px;
    width: 0;
    height: 0;
    border-width: 3px;
    border-style: solid dashed dashed;
    border-color: #bbb transparent transparent;
    font-size: 0;
    line-height: 0;
}

header>div:nth-of-type(2) ul:nth-of-type(1) li:nth-of-type(1) {
    margin-right: 10px;
}

header>div:nth-of-type(2) ul:nth-of-type(2) {
    position: absolute;
    right: 0;

}

/* -------头部隐藏部分-------- */
header>div:nth-of-type(2) div ol>li {
    padding: 0;
}

header>div:nth-of-type(2)>div>ol:nth-of-type(1)>li,
header>div:nth-of-type(2)>div>ol:nth-of-type(2)>li {
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #666;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:nth-child(1) ol {
    width: 96px;
    height: 57px;
    box-sizing: border-box;
    padding: 8px 10px;
    background-color: #fff;
    font-size: 12px;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:nth-child(3) ol {
    width: 84px;
    height: 57px;
    box-sizing: border-box;
    padding: 8px 10px;
    background-color: #fff;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:nth-child(4) ol {
    width: 175px;
    height: 227px;
    background-color: #fff;
    display: none;
    left: 120px;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:last-child ol {
    width: 1190px;
    height: 161px;
    box-sizing: border-box;
    padding: 25px 0;
    background-color: #fff;
    right: 0;
    top: 26px;
    border: 1px solid #eee;
    display: none;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:last-child:hover>ol {
    display: flex;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:last-child ol li:first-child {
    width: 455px;
    height: 110px;
    padding-left: 30px;
    border-right: 1px solid #eee;
}

header>div:nth-of-type(2) div ul:nth-child(2) li:last-child ol li:nth-child(2) {
    width: 457px;
    height: 110px;
    padding-left: 30px;
}


header>div:nth-of-type(2) div ul:nth-child(2) li:last-child ol li:last-child {
    width: 186px;
    height: 110px;
    padding-left: 30px;
    border-left: 1px solid#eee;
}

header>div:nth-of-type(2)>div>ul:nth-child(2) li:last-child ol li p:first-child {
    width: 477px;
    height: 22.4px;
    padding-bottom: 8px;
    font-size: 16px;
    color: #f56a00;
}

header>div:nth-of-type(2)>div>ul:nth-child(2) li:last-child ol li:nth-child(2) p:first-child {
    color: #2263d4;

}

header>div:nth-of-type(2)>div>ul:nth-child(2) li:last-child ol li p {
    display: flex;

}

header>div:nth-of-type(2)>div>ul:nth-child(2) li:last-child ol li p span {
    display: inline-block;
    text-align: center;
    flex: 1;
    width: 95px;
    height: 16.8px;
    padding: 6px 0;
    font-size: 12px;
    color: #666;
}

header>div:nth-of-type(2)>div>ul:nth-child(2) li:last-child ol li p span:hover {
    color: red;
    text-decoration: underline;
}

/* 内容部分 */
main {
    width: 100%;
}

/* 搜索栏部分 */
main>div:nth-of-type(1) {
    width: 1190px;
    height: 95px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main>div:nth-of-type(1) ul {
    display: flex;
}

main>div:nth-of-type(1) ol li:nth-of-type(1) {
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    font-weight: 400;
    width: 78px;
    height: 40px;
    color: #30b30e;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

main>div:nth-of-type(1) ol:hover #dizhi {
    display: block;
    z-index: 5;
}

main>div:nth-of-type(1) ol li:nth-of-type(2) {
    width: 495px;
    height: 782px;
    background-color: #fff;
    position: absolute;
    border: 1px solid #000;
    display: none;
}

main>div:nth-of-type(1) ul img {
    width: 36px;
    height: 36px;
}

main>div:nth-of-type(1)>div {
    width: 540px;
    height: 36px;
    margin: 0;
}

main>div:nth-of-type(1) form {
    display: flex;
    width: 540px;
    height: 37px;
    border: 3px solid #30b30e;
    border-right: 0;
    box-sizing: border-box;
    align-items: center;
}

main>div:nth-of-type(1)>div form input {
    width: 447px;
    height: 30px;
    border: 0;
    box-sizing: border-box;
    padding: 5px 3px 5px 5px;
    font-size: 12px;
    text-indent: .5em;
    box-shadow: 0 2px 3px rgb(211, 210, 210) inset;
}

main>div:nth-of-type(1)>div form button {
    width: 90px;
    height: 30px;
    background-color: #30b30e;
    border: 0;
    font-size: 16px;
    color: #fff;

}

main>div:nth-of-type(1) ul li {
    width: 75.63px;
    height: 24px;
    font-size: 12px;
    color: #666;
    font-weight: 600;
    line-height: 36px;
}

main>div:nth-of-type(1) a:nth-of-type(1) {
    display: block;
    width: 190px;
    height: 62px;
    padding: 26px 0 0 40px;
}

main>div:nth-of-type(1) a:nth-of-type(1) img {
    width: 130px;
    height: 48px;
}

/* 分类部分 */
main>div:nth-of-type(2) {
    width: 1190px;
    height: 36px;
    margin: auto;
    border-bottom: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main>div:nth-of-type(2) b p:nth-of-type(1) {
    background-color: #2f2f2f;
    height: 36px;
    width: 240px;
    text-align: center;
    line-height: 36px;
    float: left;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

main>div:nth-of-type(2) b a {
    /* display: inline-block; */
    line-height: 36px;
    height: 36px;
    padding: 0 25px 0 25px;
    font-weight: 600;
}

main>div:nth-of-type(2) b a:hover {
    color: red;
}

main>div:nth-of-type(2) b i {
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: #e5e5e5;
}

main>div:nth-of-type(2) ul {
    display: inline-block;
    width: 200px;
    height: 33px;
    box-sizing: border-box;
    padding: 0 18px 0 18px;
    background-color: #bf0000;
    display: flex;
    align-items: center;
    position: relative;
    transition: all .5s;
}

#index-jiage {
    color: #fcff00;
    font-size: 22px;
    font-weight: 600;
}

main>div:nth-of-type(2)>ul span:nth-of-type(2) {
    color: #fcff00;
    font-size: 12px;
}

main>div:nth-of-type(2)>ul li:nth-of-type(2) {
    display: flex;
    align-items: center;
}

#index-kg {
    color: #fff;
    font-size: 12px;
    margin-left: 16px;
}

#index-fenlei-gwc {
    position: absolute;
    width: 240px;
    height: 364px;
    background-color: #fff;
    border: 4px solid #bf0000;
    border-top: 0;
    top: 34px;
    right: 0;
    display: none;
    z-index: 2;
    transition: all 1s;
}

main>div:nth-of-type(2)>ul:hover #index-fenlei-gwc {
    display: block;
}

main>div:nth-of-type(2)>ul:hover {
    width: 248px;
}

/* 分类商品显示 左边栏*/
main>div:nth-of-type(3) {
    width: 1190px;
    height: 585px;
    margin: auto;
}

main>div:nth-of-type(3)>ul {
    width: 238px;
    height: 583px;
    box-sizing: border-box;
    border: 1px solid #eee;
    position: relative;
    float: left;
}

main>div:nth-of-type(3)>ul li {
    width: 238px;
    height: 73px;
    padding: 0 14px 0 14px;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    transition: all .8S;
    position: relative;
}

/* ------商品分类展开----------- */
main>div:nth-of-type(3)>ul li div {
    background-color: #fff;
    border: 3px solid #e22a40;
    width: 944px;
    height: 357px;
    position: absolute;
    left: 235px;
    top: 0px;
    display: none;
}

main>div:nth-of-type(3)>ul li div ul {
    width: 248px;
    height: 357px;
    border-right: 1px solid #9c9c9c;
    float: left;
}

main>div:nth-of-type(3)>ul li div ul:last-child {
    width: 196px;
    border: 0;
}

main>div:nth-of-type(3)>ul li div ul li {
    width: 248px;
    height: 119px;
    box-sizing: border-box;
    padding: 16px 0 15px 25px;
    border: 0;
}

main>div:nth-of-type(3)>ul li div ul li h4 {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 10px;
}

main>div:nth-of-type(3)>ul li div ul li p span {
    margin: 0 18px 12px 0;
    color: #666;
}

main>div:nth-of-type(3)>ul li div ul li h4:hover,
main>div:nth-of-type(3)>ul li div ul li p span:hover {
    color: red;
    text-decoration: underline;
    cursor: pointer;
}

main>div:nth-of-type(3)>ul li div ul:last-child li {
    width: 196px;

}

main>div:nth-of-type(3)>ul li div ul:last-child li:last-child {
    padding: 0;
    margin-top: 29px;
}

main>div:nth-of-type(3)>ul li div ul li p {
    width: 222px;
    font-size: 12px;
    margin-bottom: 12px;

}

/* ------商品分类滑动变色----------- */
main>div:nth-of-type(3)>ul>li:hover {
    background-color: red;
}

main>div:nth-of-type(3)>ul>li:hover>div {
    display: block;
    z-index: 2;
}

main>div:nth-of-type(3)>ul>li:nth-of-type(5):hover>div {
    top: -73px;
}

main>div:nth-of-type(3)>ul>li:nth-of-type(6):hover>div {
    top: -146px;
}

main>div:nth-of-type(3)>ul>li:nth-of-type(7):hover>div {
    top: -219px;
}

main>div:nth-of-type(3)>ul>li:hover b {
    color: #fff;
}

main>div:nth-of-type(3)>ul>li:last-child {
    position: absolute;
    width: 238px;
    left: 0;
    background-color: #f3f3f3;
    border-bottom: 0;
}

main>div:nth-of-type(3)>ul li:last-child:hover b {
    color: #000;

}

main>div:nth-of-type(3) a:hover {
    text-decoration: underline;
}

main>div:nth-of-type(3) b:hover {
    text-decoration: underline;
}

/* 分类商品显示 中边栏*/
main>div:nth-of-type(3)>div:nth-child(2) {
    display: block;
    width: 750px;
    height: 585px;
    float: left;
}

#index-flexd {
    background-color: #fff;
}

/* --------轮播图---------- */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    text-align: center;
    line-height: 50px;
    color: rgba(255, 255, 255, 0.488);
    display: none;
    font-size: 30px;
    position: absolute;
    cursor: pointer;
}

.swiper-button-next {
    right: 10px;
    top: 110px;
}

.swiper-button-prev {
    left: 10px;
    top: 110px;
}


.swiper-wrapper {
    position: relative;
}

.swiper:hover .swiper-button-next,
.swiper:hover .swiper-button-prev {
    display: block;
}

#index-lunbo {
    width: 139px;
    height: 20px;
    display: flex;
    justify-content: space-around;
    position: absolute;
    top: 260px;
    right: 10px;
}

.swiper-slide {
    position: absolute;
}

#index-lunbo span {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
}

.swiper-pagination-bullet:nth-child(1) {
    margin-left: 550px !important;
    margin-top: 20px !important;
}

.swiper-pagination-bullet {
    width: 20px !important;
    height: 20px !important;
    background-color: #000 !important;
}

#index-spshow-lunbo {
    width: 750px;
    height: 291px;

}

#index-spshow-fangda {
    width: 750px;
    height: 249px;
}

#index-spshow-fangda li:nth-of-type(1) a {
    display: inline-block;
    flex: 1;
}

#index-spshow-fangda li:nth-of-type(2) a {
    display: inline-block;
    flex: 1;
}

#index-spshow-fangda li:nth-of-type(1) {
    width: 750px;
    height: 120px;
    margin: 0;
    display: flex;
}

#index-spshow-fangda li:nth-of-type(1) img {
    float: left;
    width: 249px;
    height: 120px;
    transition: all .4s;

}

#index-spshow-fangda li:nth-of-type(2) img {
    float: left;
    transition: all .4s;
}

#index-spshow-fangda li:nth-of-type(1) img:hover,
#index-spshow-fangda li:nth-of-type(2) img:hover {
    z-index: 2;
    transform: scale(1.1)
}

#index-spshow-fangda li:nth-of-type(2) {
    width: 750px;
    height: 172px;
    margin: 0;
    display: flex;

}

main>div:nth-of-type(3)>div:nth-child(3) {
    float: right;
}

/* 尾部指南 */
menu {
    width: 100%;
    height: 216px;
    border-top: 1px solid #000;
    margin-top: 40px;
}

menu>div {
    width: 1190px;
    height: 216px;
    margin: auto;
    display: flex;
    position: relative;

}

menu>div>div img:nth-child(1) {
    width: 112px;
    height: 40px;
    padding-top: 22px;
}

menu>div>div {
    padding-right: 55px;
}

menu>div>div img:nth-child(2) {
    width: 70px;
    position: relative;
    top: 128.27px;
}

menu>div>dl {
    padding-top: 22px;
    padding-left: 52px;
}

menu>div>dl a:hover {
    text-decoration: underline;
}

menu>div>dl>dt {
    height: 30px;
}

menu>div>dl>dt>a {
    font-weight: 600;
    color: #646464;
    font-size: 16px;
}

menu>div>dl>dd {
    width: 150px;
}

menu>div>dl>dd>a {
    display: block;
    width: 100px;
    height: 20px;
    font-size: 12px;
    color: #8b8b8b;
}

/* 尾部 */
footer {
    width: 100%;
    height: 347.4px;
    background-color: #c40000;
    border-top: 2px solid #FF0036
}

footer p:nth-of-type(1) {
    width: 1190px;
    height: 35px;
    margin: auto;
    box-sizing: border-box;
    padding: 5px 0 5px 0;
    line-height: 20px;
}

footer p:nth-of-type(2) {
    width: 1190px;
    height: 35px;
    margin: auto;
    box-sizing: border-box;
    padding: 5px 0 5px 0;
    line-height: 20px;
}

footer p:nth-of-type(1) a {
    color: #fff;
    font-size: 12px;
    margin-right: 3px;
    margin-left: 3px;
}

footer p:nth-of-type(2) a {
    color: #fff;
    font-size: 12px;
    margin-right: 3px;
    line-height: 25px;

}

footer p:nth-of-type(2) {
    color: #fff;
    font-size: 12px;
}

footer p:nth-of-type(1) a:hover,
footer p:nth-of-type(2) a:hover {
    text-decoration: underline;
}

footer>div {
    width: 1190px;
    height: 277.4px;
    margin: auto;
}

footer div a img {
    display: inline-block;
}

footer div a:nth-of-type(14) img {
    width: 35px;
    height: 35px;
}

footer>div a {
    color: #a4a4a4;
    font-size: 12px;
    margin-right: 65px;
}